package day2;

public class TestFinal {
    public final void test2(){}
    public void test2(int a){}  //final可以重载

}
class Child extends TestFinal{
    //public void test2(){}   //final修饰的不能重写
}
